#include <QtGui/QApplication>
#include <QTime>
#include <QLibraryInfo>
#include <QTranslator>
#include <QTextCodec>
#include <QSettings>
#include "ftestywelcome.h"
#include "quizwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QCoreApplication::setApplicationName("FlegTesty2");
    QCoreApplication::setApplicationVersion("0.03");
    QCoreApplication::setOrganizationDomain("fl9.eu");
    QCoreApplication::setOrganizationName("flg");
    QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));

    QuizWindow quizwin(0);

    qsrand(QTime::currentTime().msec());

    quizwin.show();

    return a.exec();
}
